function getCurrentCity() {
  var citys = [
    {
      code: "110100",
      name: "北京市"
    },
    {
      code: "130100",
      name: "石家庄市"
    },
    {
      code: "370100",
      name: "济南市"
    }
  ];
  return citys;
}

function getCurrentArea(code) {
  var area_beijing = [
    {
      code: "110101",
      name: "东城区"
    },
    {
      code: "110102",
      name: "西城区"
    },
    {
      code: "110103",
      name: "崇文区"
    },
    {
      code: "110104",
      name: "宣武区"
    },
    {
      code: "110105",
      name: "朝阳区"
    },
    {
      code: "110106",
      name: "丰台区"
    },
    {
      code: "110107",
      name: "石景山区"
    },
    {
      code: "110108",
      name: "海淀区"
    },
    {
      code: "110109",
      name: "门头沟区"
    },
    {
      code: "110111",
      name: "房山区"
    },
    {
      code: "110112",
      name: "通州区"
    },
    {
      code: "110113",
      name: "顺义区"
    },
    {
      code: "110114",
      name: "昌平区"
    },
    {
      code: "110115",
      name: "大兴区"
    },
    {
      code: "110116",
      name: "怀柔区"
    },
    {
      code: "110117",
      name: "平谷区"
    },
    {
      code: "110128",
      name: "密云县"
    },
    {
      code: "110129",
      name: "延庆县"
    }
  ];

  var area_shijiazhuang = [
    {
      code: "130102",
      name: "长安区"
    },
    {
      code: "130103",
      name: "桥东区"
    },
    {
      code: "130104",
      name: "桥西区"
    },
    {
      code: "130105",
      name: "新华区"
    },
    {
      code: "130107",
      name: "井陉矿区"
    },
    {
      code: "130108",
      name: "裕华区"
    },
    {
      code: "130121",
      name: "井陉县"
    },
    {
      code: "130123",
      name: "正定县"
    },
    {
      code: "130124",
      name: "栾城县"
    },
    {
      code: "130125",
      name: "行唐县"
    },
    {
      code: "130126",
      name: "灵寿县"
    },
    {
      code: "130127",
      name: "高邑县"
    },
    {
      code: "130128",
      name: "深泽县"
    },
    {
      code: "130129",
      name: "赞皇县"
    },
    {
      code: "130130",
      name: "无极县"
    },
    {
      code: "130131",
      name: "平山县"
    },
    {
      code: "130132",
      name: "元氏县"
    },
    {
      code: "130133",
      name: "赵县"
    },
    {
      code: "130181",
      name: "辛集市"
    },
    {
      code: "130182",
      name: "藁城市"
    },
    {
      code: "130183",
      name: "晋州市"
    },
    {
      code: "130184",
      name: "新乐市"
    },
    {
      code: "130185",
      name: "鹿泉市"
    }
  ];

  var area_jinan = [
    {
      code: "370102",
      name: "历下区"
    },
    {
      code: "370103",
      name: "市中区"
    },
    {
      code: "370104",
      name: "槐荫区"
    },
    {
      code: "370105",
      name: "天桥区"
    },
    {
      code: "370112",
      name: "历城区"
    },
    {
      code: "370113",
      name: "长清区"
    },
    {
      code: "370124",
      name: "平阴县"
    },
    {
      code: "370125",
      name: "济阳县"
    },
    {
      code: "370126",
      name: "商河县"
    },
    {
      code: "370181",
      name: "章丘市"
    }
  ];
  
  if ('110100'==code){
    //北京市
    return area_beijing;
  } else if ('130100' == code) {
    //石家庄市
    return area_shijiazhuang;
  } else if ('370100' == code) {
    //济南市
    return area_jinan;
  }
}